package cn.manter.system.domain;

import cn.manter.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Staff extends BaseDomain {

private String name;
private String code;
private Integer years;
private String position;
private BigDecimal salary;
@JsonFormat(pattern = "yyyy-MM-dd")
private Date entryTime = new Date();
private String deptId;
}
